<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>OrbbecSDK: ob::FrameHelper类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="orbbec_icon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OrbbecSDK
   &#160;<span id="projectnumber">1.8.3</span>
   </div>
   <div id="projectbrief">OrbbecSDK: 奥比中光 3D 相机开发套件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceob.html">ob</a></li><li class="navelem"><a class="el" href="classob_1_1FrameHelper.html">FrameHelper</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classob_1_1FrameHelper-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">ob::FrameHelper类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>定义 <a class="el" href="classob_1_1FrameHelper.html" title="定义 FrameHelper 类 ">FrameHelper</a> 类  
 <a href="classob_1_1FrameHelper.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="Frame_8hpp_source.html">Frame.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ab1719c7ab015faa4df2a36979952e2c5"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1FrameHelper.html#ab1719c7ab015faa4df2a36979952e2c5">createFrame</a> (<a class="el" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> type, <a class="el" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a> format, uint32_t width, uint32_t height, uint32_t strideBytes)</td></tr>
<tr class="memdesc:ab1719c7ab015faa4df2a36979952e2c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建一个数据帧对象  <a href="#ab1719c7ab015faa4df2a36979952e2c5">更多...</a><br /></td></tr>
<tr class="separator:ab1719c7ab015faa4df2a36979952e2c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a497e0a75c3709dbc4474b18f352b97eb"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1FrameHelper.html#a497e0a75c3709dbc4474b18f352b97eb">createFrameFromBuffer</a> (<a class="el" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a> format, uint32_t width, uint32_t height, uint8_t *buffer, uint32_t bufferSize, <a class="el" href="namespaceob.html#aa530dba90a807bee70473e2ddd46f582">BufferDestroyCallback</a> destroyCallback, void *destroyCallbackContext)</td></tr>
<tr class="memdesc:a497e0a75c3709dbc4474b18f352b97eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">基于外部创建的 Buffer 创建数据帧对象  <a href="#a497e0a75c3709dbc4474b18f352b97eb">更多...</a><br /></td></tr>
<tr class="separator:a497e0a75c3709dbc4474b18f352b97eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7ea885e06b49e68a5cd839f9c8e4239"><td class="memItemLeft" align="right" valign="top">static std::shared_ptr&lt; <a class="el" href="classob_1_1FrameSet.html">FrameSet</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1FrameHelper.html#ad7ea885e06b49e68a5cd839f9c8e4239">createFrameSet</a> ()</td></tr>
<tr class="memdesc:ad7ea885e06b49e68a5cd839f9c8e4239"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建一个空的帧集合对象  <a href="#ad7ea885e06b49e68a5cd839f9c8e4239">更多...</a><br /></td></tr>
<tr class="separator:ad7ea885e06b49e68a5cd839f9c8e4239"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad52aaa6f41413f6c4792ea4e8d420b00"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1FrameHelper.html#ad52aaa6f41413f6c4792ea4e8d420b00">pushFrame</a> (std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt; frameSet, <a class="el" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> frameType, std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt; frame)</td></tr>
<tr class="memdesc:ad52aaa6f41413f6c4792ea4e8d420b00"><td class="mdescLeft">&#160;</td><td class="mdescRight">用相应类型的帧填充帧集合  <a href="#ad52aaa6f41413f6c4792ea4e8d420b00">更多...</a><br /></td></tr>
<tr class="separator:ad52aaa6f41413f6c4792ea4e8d420b00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf4a18f6ff8f8229a9a9823bb13a0c51"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1FrameHelper.html#adf4a18f6ff8f8229a9a9823bb13a0c51">setFrameSystemTimestamp</a> (std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt; frame, uint64_t systemTimestamp)</td></tr>
<tr class="memdesc:adf4a18f6ff8f8229a9a9823bb13a0c51"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置帧的系统时间戳  <a href="#adf4a18f6ff8f8229a9a9823bb13a0c51">更多...</a><br /></td></tr>
<tr class="separator:adf4a18f6ff8f8229a9a9823bb13a0c51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c94cdce84c1b9e577be58501133dc3d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1FrameHelper.html#a5c94cdce84c1b9e577be58501133dc3d">setFrameDeviceTimestamp</a> (std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt; frame, uint64_t deviceTimestamp)</td></tr>
<tr class="memdesc:a5c94cdce84c1b9e577be58501133dc3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置帧的设备时间戳  <a href="#a5c94cdce84c1b9e577be58501133dc3d">更多...</a><br /></td></tr>
<tr class="separator:a5c94cdce84c1b9e577be58501133dc3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa83b48c0ce3f5ab179f8e5aa2bbfd003"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1FrameHelper.html#aa83b48c0ce3f5ab179f8e5aa2bbfd003">setFrameDeviceTimestampUs</a> (std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt; frame, uint64_t deviceTimestampUs)</td></tr>
<tr class="memdesc:aa83b48c0ce3f5ab179f8e5aa2bbfd003"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置帧的设备时间戳  <a href="#aa83b48c0ce3f5ab179f8e5aa2bbfd003">更多...</a><br /></td></tr>
<tr class="separator:aa83b48c0ce3f5ab179f8e5aa2bbfd003"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>定义 <a class="el" href="classob_1_1FrameHelper.html" title="定义 FrameHelper 类 ">FrameHelper</a> 类 </p>

<p>在文件 <a class="el" href="Frame_8hpp_source.html">Frame.hpp</a> 第 <a class="el" href="Frame_8hpp_source.html#l00371">371</a> 行定义.</p>
</div><h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="ab1719c7ab015faa4df2a36979952e2c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::shared_ptr&lt;<a class="el" href="classob_1_1Frame.html">Frame</a>&gt; ob::FrameHelper::createFrame </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a>&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>strideBytes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建一个数据帧对象 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">type</td><td>帧类型 <a class="el" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>帧格式 <a class="el" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>帧宽度 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>帧高度 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">strideBytes</td><td>数据帧 strideBytes; 如果 strideBytes &gt; 0，帧数据大小 = height *strideBytes；如果 strideBytes = 0，帧数据大小 = 高度 * 宽度 * 像素大小 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;Frame&gt; 返回创建的数据帧对象 </dd></dl>

</div>
</div>
<a class="anchor" id="a497e0a75c3709dbc4474b18f352b97eb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::shared_ptr&lt;<a class="el" href="classob_1_1Frame.html">Frame</a>&gt; ob::FrameHelper::createFrameFromBuffer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a>&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>bufferSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceob.html#aa530dba90a807bee70473e2ddd46f582">BufferDestroyCallback</a>&#160;</td>
          <td class="paramname"><em>destroyCallback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>destroyCallbackContext</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>基于外部创建的 Buffer 创建数据帧对象 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">format</td><td>帧格式 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>数据帧宽度 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>数据帧高度 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">buffer</td><td>帧对象缓冲区 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">bufferSize</td><td>帧对象缓冲区大小 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">destroyCallback</td><td>帧对象缓冲区销毁回调 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">destroyCallbackContext</td><td>帧对象缓冲区销毁回调上下文</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;Frame&gt; 返回帧对象 </dd></dl>

</div>
</div>
<a class="anchor" id="ad7ea885e06b49e68a5cd839f9c8e4239"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::shared_ptr&lt;<a class="el" href="classob_1_1FrameSet.html">FrameSet</a>&gt; ob::FrameHelper::createFrameSet </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建一个空的帧集合对象 </p>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;Frame&gt; 返回帧集合对象 </dd></dl>

</div>
</div>
<a class="anchor" id="ad52aaa6f41413f6c4792ea4e8d420b00"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void ob::FrameHelper::pushFrame </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt;&#160;</td>
          <td class="paramname"><em>frameSet</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a>&#160;</td>
          <td class="paramname"><em>frameType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt;&#160;</td>
          <td class="paramname"><em>frame</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>用相应类型的帧填充帧集合 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frameSet</td><td>数据帧集合对象 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">frameType</td><td>填充的数据帧帧类型 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>用于填入的数据帧对象 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adf4a18f6ff8f8229a9a9823bb13a0c51"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void ob::FrameHelper::setFrameSystemTimestamp </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt;&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>systemTimestamp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置帧的系统时间戳 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>数据帧对象，用于设置时间戳 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">systemTimestamp</td><td>由 systemTimestamp 设置 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5c94cdce84c1b9e577be58501133dc3d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void ob::FrameHelper::setFrameDeviceTimestamp </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt;&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>deviceTimestamp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置帧的设备时间戳 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>数据帧帧对象，用于设置时间戳 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">deviceTimestamp</td><td>由 deviceTimestamp 设置 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa83b48c0ce3f5ab179f8e5aa2bbfd003"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void ob::FrameHelper::setFrameDeviceTimestampUs </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classob_1_1Frame.html">Frame</a> &gt;&#160;</td>
          <td class="paramname"><em>frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint64_t&#160;</td>
          <td class="paramname"><em>deviceTimestampUs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置帧的设备时间戳 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">frame</td><td>数据帧帧对象，用于设置时间戳 </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">deviceTimestampUs</td><td>设备时间戳集 (Us) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>header_cn/libobsensor/hpp/<a class="el" href="Frame_8hpp_source.html">Frame.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2023年 十一月 24日 星期五 10:56:17 , 为 OrbbecSDK使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
